/**
* Invoker.java 2020/5/9 5:24 下午
* Copyright ©2020 wondersgroup.com All rights reserved.
* PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package common.model;

import common.exception.MagicRpcException;

/**
 * File：Invoker.java<br>
 * Title: <br>
 * Description: <br>
 * Company: www.treefinance.com.cn <br>
 * @author heyouchi
 */
public interface Invoker<T> extends Node  {

  Class<T> getInterface();

  Result invoke(Invocation invocation) throws MagicRpcException;

}
